<html>
<head><meta charset="utf-8"><title>Scripts for use with cargo-bisect-rustc · t-compiler/cargo-bisect-rustc · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/217417-t-compiler/cargo-bisect-rustc/index.html">t-compiler/cargo-bisect-rustc</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/217417-t-compiler/cargo-bisect-rustc/topic/Scripts.20for.20use.20with.20cargo-bisect-rustc.html">Scripts for use with cargo-bisect-rustc</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="187934903"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/217417-t-compiler/cargo-bisect-rustc/topic/Scripts%20for%20use%20with%20cargo-bisect-rustc/near/187934903" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Chris Simpkins <a href="https://rust-lang.github.io/zulip_archive/stream/217417-t-compiler/cargo-bisect-rustc/topic/Scripts.20for.20use.20with.20cargo-bisect-rustc.html#187934903">(Feb 11 2020 at 17:46)</a>:</h4>
<p>I submitted a pull request with a few shell scripts that can be used for tasks including automation of bisects for ICE regressions in <a href="https://github.com/rust-lang/cargo-bisect-rustc/pull/47" target="_blank" title="https://github.com/rust-lang/cargo-bisect-rustc/pull/47">https://github.com/rust-lang/cargo-bisect-rustc/pull/47</a>.  If these are acceptable upstream, I'd be happy to add documentation to the tutorial as part of the PR.  They are very straightforward at the moment and <span class="user-mention" data-user-id="250726">@Marcel Hellwig</span> recommended a change in approach for one of the scripts that I'd be happy to implement.  Please let me know if there is anything else that you need to review the PR.</p>



<a name="187936936"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/217417-t-compiler/cargo-bisect-rustc/topic/Scripts%20for%20use%20with%20cargo-bisect-rustc/near/187936936" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/217417-t-compiler/cargo-bisect-rustc/topic/Scripts.20for.20use.20with.20cargo-bisect-rustc.html#187936936">(Feb 11 2020 at 18:05)</a>:</h4>
<p>I think it would be great if we can add a lot of things like the ones you've added but as subcommands of the executable</p>



<a name="187936955"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/217417-t-compiler/cargo-bisect-rustc/topic/Scripts%20for%20use%20with%20cargo-bisect-rustc/near/187936955" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/217417-t-compiler/cargo-bisect-rustc/topic/Scripts.20for.20use.20with.20cargo-bisect-rustc.html#187936955">(Feb 11 2020 at 18:05)</a>:</h4>
<p>anyway, meanwhile we don't have that I guess we could apply this</p>



<a name="187937007"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/217417-t-compiler/cargo-bisect-rustc/topic/Scripts%20for%20use%20with%20cargo-bisect-rustc/near/187937007" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/217417-t-compiler/cargo-bisect-rustc/topic/Scripts.20for.20use.20with.20cargo-bisect-rustc.html#187937007">(Feb 11 2020 at 18:06)</a>:</h4>
<p>cc <span class="user-mention" data-user-id="116122">@simulacrum</span></p>



<a name="187937364"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/217417-t-compiler/cargo-bisect-rustc/topic/Scripts%20for%20use%20with%20cargo-bisect-rustc/near/187937364" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Chris Simpkins <a href="https://rust-lang.github.io/zulip_archive/stream/217417-t-compiler/cargo-bisect-rustc/topic/Scripts.20for.20use.20with.20cargo-bisect-rustc.html#187937364">(Feb 11 2020 at 18:10)</a>:</h4>
<p>I would definitely be interested in helping to work on this in the Rust source but am likely to need some assistance at this stage</p>



<a name="187937715"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/217417-t-compiler/cargo-bisect-rustc/topic/Scripts%20for%20use%20with%20cargo-bisect-rustc/near/187937715" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/217417-t-compiler/cargo-bisect-rustc/topic/Scripts.20for.20use.20with.20cargo-bisect-rustc.html#187937715">(Feb 11 2020 at 18:13)</a>:</h4>
<p>let's see what Mark says but I'd be happy to help where possible</p>



<a name="187938986"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/217417-t-compiler/cargo-bisect-rustc/topic/Scripts%20for%20use%20with%20cargo-bisect-rustc/near/187938986" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/217417-t-compiler/cargo-bisect-rustc/topic/Scripts.20for.20use.20with.20cargo-bisect-rustc.html#187938986">(Feb 11 2020 at 18:25)</a>:</h4>
<p>I don't have time to manage/guide this, but I think adding the scripts either as they are in scripts/ or subcommands is fine</p>



<a name="187939917"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/217417-t-compiler/cargo-bisect-rustc/topic/Scripts%20for%20use%20with%20cargo-bisect-rustc/near/187939917" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/217417-t-compiler/cargo-bisect-rustc/topic/Scripts.20for.20use.20with.20cargo-bisect-rustc.html#187939917">(Feb 11 2020 at 18:34)</a>:</h4>
<p><span class="user-mention" data-user-id="116122">@simulacrum</span> yeah I just wanted you to chime in favor of the scripts or to build the thing as a subcommand</p>



<a name="187939973"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/217417-t-compiler/cargo-bisect-rustc/topic/Scripts%20for%20use%20with%20cargo-bisect-rustc/near/187939973" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/217417-t-compiler/cargo-bisect-rustc/topic/Scripts.20for.20use.20with.20cargo-bisect-rustc.html#187939973">(Feb 11 2020 at 18:34)</a>:</h4>
<p>but yeah as I was saying we can start placing those scripts there and then implement the ideas inside the tool</p>



<a name="187944704"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/217417-t-compiler/cargo-bisect-rustc/topic/Scripts%20for%20use%20with%20cargo-bisect-rustc/near/187944704" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Chris Simpkins <a href="https://rust-lang.github.io/zulip_archive/stream/217417-t-compiler/cargo-bisect-rustc/topic/Scripts.20for.20use.20with.20cargo-bisect-rustc.html#187944704">(Feb 11 2020 at 19:25)</a>:</h4>
<p>That sounds good.  Let me know if there is anything else that you want to see on the PR for the scripts. </p>
<p>I took a look at the Rust sources last night and will start looking into builtin approaches with new subcommands.  Let me get my bearings on the project and then I will have more informed questions about how to approach this.   I'll do my best to come prepared so that this isn't onerous <span aria-label="slight smile" class="emoji emoji-1f642" role="img" title="slight smile">:slight_smile:</span>  It's a great opportunity for me to learn more about Rust and I really look forward to it.  Please let me know if you have any ideas about subcommand functionality that is not on the issue tracker.</p>



<a name="187945735"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/217417-t-compiler/cargo-bisect-rustc/topic/Scripts%20for%20use%20with%20cargo-bisect-rustc/near/187945735" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/217417-t-compiler/cargo-bisect-rustc/topic/Scripts.20for.20use.20with.20cargo-bisect-rustc.html#187945735">(Feb 11 2020 at 19:35)</a>:</h4>
<p>I don't have any particular idea</p>



<a name="187947032"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/217417-t-compiler/cargo-bisect-rustc/topic/Scripts%20for%20use%20with%20cargo-bisect-rustc/near/187947032" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/217417-t-compiler/cargo-bisect-rustc/topic/Scripts.20for.20use.20with.20cargo-bisect-rustc.html#187947032">(Feb 11 2020 at 19:48)</a>:</h4>
<p>I think subcommand is better</p>



<a name="187947114"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/217417-t-compiler/cargo-bisect-rustc/topic/Scripts%20for%20use%20with%20cargo-bisect-rustc/near/187947114" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/217417-t-compiler/cargo-bisect-rustc/topic/Scripts.20for.20use.20with.20cargo-bisect-rustc.html#187947114">(Feb 11 2020 at 19:49)</a>:</h4>
<p>Particularly because scripts directory is not going to be readily available if we installed from cargo</p>



<a name="187947781"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/217417-t-compiler/cargo-bisect-rustc/topic/Scripts%20for%20use%20with%20cargo-bisect-rustc/near/187947781" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Chris Simpkins <a href="https://rust-lang.github.io/zulip_archive/stream/217417-t-compiler/cargo-bisect-rustc/topic/Scripts.20for.20use.20with.20cargo-bisect-rustc.html#187947781">(Feb 11 2020 at 19:54)</a>:</h4>
<p>It sounds like <span class="user-mention" data-user-id="116083">@pnkfelix</span> intends to add support for the subcommands in the tool.  We are discussing this on <a href="https://github.com/rust-lang/cargo-bisect-rustc/issues/34" target="_blank" title="https://github.com/rust-lang/cargo-bisect-rustc/issues/34">https://github.com/rust-lang/cargo-bisect-rustc/issues/34</a></p>



<a name="188680264"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/217417-t-compiler/cargo-bisect-rustc/topic/Scripts%20for%20use%20with%20cargo-bisect-rustc/near/188680264" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pnkfelix <a href="https://rust-lang.github.io/zulip_archive/stream/217417-t-compiler/cargo-bisect-rustc/topic/Scripts.20for.20use.20with.20cargo-bisect-rustc.html#188680264">(Feb 20 2020 at 21:31)</a>:</h4>
<p>(added command line parameters to catch ICE's and other variants in <a href="https://github.com/rust-lang/cargo-bisect-rustc/issues/53" target="_blank" title="https://github.com/rust-lang/cargo-bisect-rustc/issues/53">cargo-bisect-rustc#53</a>)</p>



<a name="188680977"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/217417-t-compiler/cargo-bisect-rustc/topic/Scripts%20for%20use%20with%20cargo-bisect-rustc/near/188680977" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pnkfelix <a href="https://rust-lang.github.io/zulip_archive/stream/217417-t-compiler/cargo-bisect-rustc/topic/Scripts.20for.20use.20with.20cargo-bisect-rustc.html#188680977">(Feb 20 2020 at 21:39)</a>:</h4>
<p><span class="user-mention" data-user-id="262810">@Chris Simpkins</span> maybe you might like to be part of the review of PR <a href="https://github.com/rust-lang/rust/issues/53" target="_blank" title="https://github.com/rust-lang/rust/issues/53">#53</a> ?</p>



<a name="188681004"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/217417-t-compiler/cargo-bisect-rustc/topic/Scripts%20for%20use%20with%20cargo-bisect-rustc/near/188681004" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pnkfelix <a href="https://rust-lang.github.io/zulip_archive/stream/217417-t-compiler/cargo-bisect-rustc/topic/Scripts.20for.20use.20with.20cargo-bisect-rustc.html#188681004">(Feb 20 2020 at 21:39)</a>:</h4>
<p>(I in turn can maybe allocate some time to look at the PR's you posted...)</p>



<a name="188704127"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/217417-t-compiler/cargo-bisect-rustc/topic/Scripts%20for%20use%20with%20cargo-bisect-rustc/near/188704127" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Chris Simpkins <a href="https://rust-lang.github.io/zulip_archive/stream/217417-t-compiler/cargo-bisect-rustc/topic/Scripts.20for.20use.20with.20cargo-bisect-rustc.html#188704127">(Feb 21 2020 at 05:07)</a>:</h4>
<p>Sounds great <span class="user-mention" data-user-id="116083">@pnkfelix</span>.  I will have a look tomorrow.  Look forward to these changes!</p>



<a name="188759691"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/217417-t-compiler/cargo-bisect-rustc/topic/Scripts%20for%20use%20with%20cargo-bisect-rustc/near/188759691" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Chris Simpkins <a href="https://rust-lang.github.io/zulip_archive/stream/217417-t-compiler/cargo-bisect-rustc/topic/Scripts.20for.20use.20with.20cargo-bisect-rustc.html#188759691">(Feb 21 2020 at 18:21)</a>:</h4>
<p>It looks like your PR was already merged <span class="user-mention" data-user-id="116083">@pnkfelix</span>  I will catch up on the changes that you made.  I was working on a refactor of the source in main into a library so that we can add tests.  I will rebase that  work on your changes if they are implemented in the <a href="http://main.rs" target="_blank" title="http://main.rs">main.rs</a> module.</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>